The heart wall has three layers: an endocardium, a myocardium, and an epicardium.